<?php /* Smarty version 2.6.13, created on 2006-11-26 22:31:46
         compiled from file:/home2/10zaru/10zabiz/www/include/snippets/paginator/tpl/page.tpl.php */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'cycle', 'file:/home2/10zaru/10zabiz/www/include/snippets/paginator/tpl/page.tpl.php', 11, false),)), $this); ?>
<div class="title"><?php echo $this->_tpl_vars['pg_title']; ?>
</div>
<br />
<table>
<tr>
<?php $_from = $this->_tpl_vars['pg_header']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['pg_hdr']):
?>
	<th><?php echo $this->_tpl_vars['pg_hdr']; ?>
</th>
<?php endforeach; endif; unset($_from); ?>
</tr>

<?php $_from = $this->_tpl_vars['pg_data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['pg_row']):
?>
<tr class="<?php echo smarty_function_cycle(array('values' => "dark,light"), $this);?>
">
	<?php $_from = $this->_tpl_vars['pg_row']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['pg_key']):
?>
	<td <?php if (! empty ( $this->_tpl_vars['pg_key'][1] )):  echo $this->_tpl_vars['pg_key'][1];  endif; ?>><?php echo $this->_tpl_vars['pg_key'][0]; ?>
</td>
	<?php endforeach; endif; unset($_from); ?>
</tr>
<?php endforeach; else: ?>
<tr  class="<?php echo smarty_function_cycle(array('values' => "dark,light"), $this);?>
">
	<td colspan="<?php echo $this->_tpl_vars['pg_cspan']+1; ?>
">
	<b><?php echo $this->_tpl_vars['pg_emptymessage']; ?>
</b>
	</td>
</tr>
<?php endif; unset($_from); ?>
<?php if ($this->_tpl_vars['pg_totals'] > 0): ?>
<tr class="footer">
	<td colspan="<?php echo $this->_tpl_vars['pg_cspan']; ?>
">
		Page:
		&nbsp;&nbsp;
		<?php if (empty ( $this->_tpl_vars['pg_ppvlist_prev'] )): ?>&lt;&lt;<?php else: ?><a href="<?php echo $this->_tpl_vars['pg_ppvlist_prev']; ?>
">&lt;&lt;</a><?php endif; ?>
		<?php if (empty ( $this->_tpl_vars['pg_pageslist_prev'] )): ?>prev<?php else: ?><a href="<?php echo $this->_tpl_vars['pg_pageslist_prev']; ?>
">prev</a><?php endif; ?>&nbsp;&nbsp;

<?php $_from = $this->_tpl_vars['pg_pageslist']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['pg_lnk_idx'] => $this->_tpl_vars['pg_lnk_url']):
?>
	<?php if (empty ( $this->_tpl_vars['pg_lnk_url'] )): ?>
		<b style="font-size: 12; color: #ff0000;"><?php echo $this->_tpl_vars['pg_lnk_idx']; ?>
</b>
	<?php else: ?>
		<a href="<?php echo $this->_tpl_vars['pg_lnk_url']; ?>
"><?php echo $this->_tpl_vars['pg_lnk_idx']; ?>
</a>
	<?php endif; ?>
<?php endforeach; endif; unset($_from); ?>
		&nbsp;&nbsp;
		<?php if (empty ( $this->_tpl_vars['pg_pageslist_next'] )): ?>next<?php else: ?><a href="<?php echo $this->_tpl_vars['pg_pageslist_next']; ?>
">next</a><?php endif; ?>
		&nbsp;&nbsp;
		<?php if (empty ( $this->_tpl_vars['pg_ppvlist_next'] )): ?>&gt;&gt;<?php else: ?><a href="<?php echo $this->_tpl_vars['pg_ppvlist_next']; ?>
">&gt;&gt;</a><?php endif; ?>
		&nbsp;&nbsp;
		<?php if (empty ( $this->_tpl_vars['pg_pageslist_all'] )): ?>all<?php else: ?><a href="<?php echo $this->_tpl_vars['pg_pageslist_all']; ?>
">all</a><?php endif; ?>
		&nbsp;&nbsp;
	</td>
	<td align="right">Total : <?php echo $this->_tpl_vars['pg_totals']; ?>
</td>
</tr>
<?php endif; ?>
</table>